@import url('https://fonts.googleapis.com/css2?family=Encode+Sans:wght@500&display=swap');

* {
    padding: 0;
    margin: 0;
    font-family: 'Encode Sans', sans-serif;
    text-transform: uppercase;
    color: white;
    user-select: none;
}

.ui {
    position: relative;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 0;
}

.inventory {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 1550px;
    height: 600px;
}

.cloth {
    right:-320%;
    position:absolute;
    top:-3vh;
}

#glasses,
#hat,
#mask,
#pants,
#shirt,
#shoes,
#top,
#vest,
#bagoff,
#watch {
	width: 1.40vh;
	border: .4vh solid rgba(0, 0, 0, 0.2);
	border-radius: 40%;
	padding: 1.2vh
}

#glasses:hover,
#hat:hover,
#mask:hover,
#pants:hover,
#shirt:hover,
#shoes:hover,
#top:hover,
#vest:hover,
#watch:hover {
	opacity: .5
}

#playerInventory {
    width: 625px;
    height: 600px;
    float: left;
    overflow-y: auto;
    overflow-x: hidden;
}

#controls {
    width: 300px;
    height: 600px;
    float: left;
    position: relative;
    left: 0;
    top: 0;
}

#otherInventory {
    width: 625px;
    height: 600px;
    float: left;
    overflow-y: auto;
    overflow-x: hidden;
}

.logo { 
    width: 100%;
      background-color: rgb(0 0 0 / 47%);
    box-shadow: 0 0 0 1px rgb(38 38 38 / 59%) inset;
    margin: 2px 2px 0px 0px;
    border-radius: 8px;
}

#count {
    border: none;
    outline: none;
    font-size: 18px;
}

#search {
    display: none;
    border: none;
    outline: none;
    font-size: 12px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.slot {
    float: left;
    width: 123px;
    height: 123px;
    background-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 0 1px rgba(38, 38, 38, 0.3) inset;
    margin: 2px 2px 0px 0px;
    position: relative;
    border-radius: 8px;
}

#playerInventory > .slot:nth-child(1):after,
#hotbar > .slot:nth-child(1):after {
	top: 0;
	left: 0;
	margin: 0 auto;
	position: absolute;
	content: '1';
	height: 15px !important;
	width: 15px !important;
	font-size: 11px;
	font-weight: bold;
	text-align: center;
	line-height: 14px;
	vertical-align: middle;
	background-color: white;
	color: black;
	text-shadow: none;
	outline: 1px solid rgba(0,0,0,0.9);
	outline-offset: -1px;
}

#playerInventory > .slot:nth-child(2):after,
#hotbar > .slot:nth-child(2):after {
	top: 0;
	left: 0;
	margin: 0 auto;
	position: absolute;
	content: '2';
	height: 15px !important;
	width: 15px !important;
	font-size: 11px;
	font-weight: bold;
	text-align: center;
	line-height: 14px;
	vertical-align: middle;
	background-color: white;
	color: black;
	text-shadow: none;
	outline: 1px solid rgba(0,0,0,0.9);
	outline-offset: -1px;
}

#playerInventory > .slot:nth-child(3):after,
#hotbar > .slot:nth-child(3):after {
	top: 0;
	left: 0;
	margin: 0 auto;
	position: absolute;
	content: '3';
	height: 15px !important;
	width: 15px !important;
	font-size: 11px;
	font-weight: bold;
	text-align: center;
	line-height: 14px;
	vertical-align: middle;
	background-color: white;
	color: black;
	text-shadow: none;
	outline: 1px solid rgba(0,0,0,0.9);
	outline-offset: -1px;
}

#playerInventory > .slot:nth-child(4):after,
#hotbar > .slot:nth-child(4):after {
	top: 0;
	left: 0;
	margin: 0 auto;
	position: absolute;
	content: '4';
	height: 15px !important;
	width: 15px !important;
	font-size: 11px;
	font-weight: bold;
	text-align: center;
	line-height: 14px;
	vertical-align: middle;
	background-color: white;
	color: black;
	text-shadow: none;
	outline: 1px solid rgba(0,0,0,0.9);
	outline-offset: -1px;
}

#playerInventory > .slot:nth-child(5):after,
#hotbar > .slot:nth-child(5):after {
	top: 0;
	left: 0;
	margin: 0 auto;
	position: absolute;
	content: '5';
	height: 15px !important;
	width: 15px !important;
	font-size: 11px;
	font-weight: bold;
	text-align: center;
	line-height: 14px;
	vertical-align: middle;
	background-color: white;
	color: black;
	text-shadow: none;
	outline: 1px solid rgba(0,0,0,0.9);
	outline-offset: -1px;
}

.slot:hover {
    background-color: rgba(10, 10, 10, 0.65);
}

.item {
    width: 123px;
    height: 123px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.item-name {
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
    z-index: 500;
    font-size: 12px;
    padding: 2px 0px;
    background-color: rgba(12, 12, 12, 0.25);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    background-color:rgb(10 10 10);
}

.item-name-bg {
    width: 100%;
    width: 117px;
    height: 20px;
    position: absolute;
    bottom: 0;
}

.ui-draggable-dragging .item-name,
.ui-draggable-dragging .item-count {
    display: none;
}

.item-count {
    position: absolute;
    top: 0;
    text-align: right;
    width: 114px;
    height: 20px;
    z-index: 500;
    font-size: 10px;
}

.item-action {
    top: 0;
	left: 0;
	margin: 0 auto;
	position: absolute;
	height: 15px !important;
	width: auto;
	font-size: 11px;
	font-weight: bold;
	text-align: center;
	line-height: 14px;
	vertical-align: middle;
	background-color: white;
	color: black;
	text-shadow: none;
	outline: 1px solid rgba(0,0,0,0.9);
	outline-offset: -1px;
    padding: 2px;
}

.controls-div {
    position: absolute;
    left:45%;
    top: 40%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 1px rgba(38, 38, 38, 0.3) inset;
    border-radius: 8px;
    padding:3vh;
    background-color: rgb(0 0 0 / 63%)

}

.control {
    width: 150px;
    height: 40px;
    background-color: rgb(56 56 56 / 38%);
    margin: 10px;
    text-align: center;
    vertical-align: middle;
    line-height: 40px;
    border-radius: 8px;
}

.control.disabled {
    background-color: rgb(202 28 28);
}

.hoverControl {
    background-color: rgba(20, 67, 255, 0.377);
}

#playerInventory::-webkit-scrollbar-track,
#otherInventory::-webkit-scrollbar-track {
    background-color: none;
    border: none;
}

#playerInventory::-webkit-scrollbar,
#otherInventory::-webkit-scrollbar {
   width: 0px;
}

#playerInventory::-webkit-scrollbar-thumb,
#otherInventory::-webkit-scrollbar-thumb {
	background-color: rgba(10, 10, 10, 0.5);
	border-radius: 8px;
}

#info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

#playerInfo, #otherInfo {
    display: none;
    color: white;
    font-size: 18px;
    width: 625px;
}

#otherInfo {
    text-align: right;
}

#progbar {
    display: block;
    background: rgba(0, 0, 0, 0.2);
	width: 100%;
	height: 15px;
	border-radius: 8px;
	border: 1px solid rgba(0,0,0,0.0);
    margin-top: 2px;
}

#progbar-value {
	/* background: #2151a1; */
	border: 0px;
	border-radius: 8px;
    height: 100%;
    max-width:100%;

}

#hotbar {
	height: 110px;
	min-width: 110px;
	width: fit-content;
	position: absolute;
	left: 50%;
	bottom: 3%;
	transform: translate(-50%, 0%);
}

#notifications {
	height: 110px;
	min-width: 110px;
	width: fit-content;
	position: absolute;
	left: 50%;
	bottom: 10%;
	transform: translate(-50%, 0%);
}

#description {
    display: none;
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 800px;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, .4);
}

@media (max-width: 1500px) {
    .inventory {
        width: 1300px;
    }

    #playerInventory {
        width: 550px;
    }

    #controls {
        width: 200px;
    }

    #otherInventory {
        width: 550px;
    }
}

@media (max-width: 1300px) {
    .inventory {
        width: 1000px;
    }

    #playerInventory {
        width: 425px;
    }

    #controls {
        width: 150px;
    }

    #otherInventory {
        width: 425px;
    }
}